<table class="table table-hover" id="sample-table-1">
	<thead>
		<tr>
			<th class="center">序号</th>
			<th>附件名称</th>
			<th class="hidden-xs">上传者</th>
			<th>上传时间</th>
			<!-- <th>任务Id</th> -->
			<th class="hidden-xs">文件类型</th>
			<th></th>
		</tr>
	</thead>
	<tbody>
		<tr ng-repeat="attachment in attachments">
			<td class="center">{{$index + 1}}</td>
			<td class="hidden-xs">{{attachment.name}}</td>
			<td>{{attachment.userName}}</td>
			<td>{{attachment.time|date:'yyyy-MM-dd HH:mm:ss'}}</td>
			<!-- <td>{{attachment.taskId}}</td> -->
			<td>{{attachment.type}}</td>
			<td class="center">
			<div class="visible-md visible-lg hidden-sm hidden-xs">
				<a ng-href="{{attachment.link}}" ng-init="attachment.link=downloadUrl(attachment.id);" class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="下载"><i class="fa fa-download"></i></a>
			</div>
			</td>
		</tr>
	</tbody>
</table>